home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 5
/
Gekikoh Dennoh Club Vol. 5 (Japan).7z
/
Gekikoh Dennoh Club Vol. 5 (Japan) (Track 01).bin
/
internet
/
xip
/
iijppp.lzh
/
src
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-10-23
|
1KB
|
48 lines
BINDIR= /usr/local/bin
SRCS= async.c auth.c ccp.c chap.c chat.c command.c filter.c fsm.c hdlc.c \
ip.c ipcp.c lcp.c lqr.c log.c main.c mbuf.c md5c.c modem.c os.c \
pap.c pred.c route.c slcompress.c timer.c systems.c uucplock.c vars.c \
vjcomp.c
OBJS= async.o auth.o ccp.o chap.o chat.o command.o filter.o fsm.o hdlc.o \
ip.o ipcp.o lcp.o lqr.o log.o main.o mbuf.o md5c.o modem.o os.o \
pap.o pred.o route.o slcompress.o timer.o systems.o uucplock.o vars.o \
vjcomp.o
DOCS= doc/ppp.tex doc/example.sty
CFLAGS= -W -O
all:
@if [ ! -f .depend ]; then make depend; fi
@make ppp
ppp: $(OBJS)
$(CC) -o ppp $(OBJS)
install: ppp
if [ -f $(BINDIR)/ppp ]; then \
mv $(BINDIR)/ppp $(BINDIR)/ppp.old; \
fi
install -m 4755 ppp $(BINDIR)/ppp
if [ ! -f /etc/ppp.conf ]; then \
install -c -m 400 ../example/ppp.conf /etc/ppp.conf
fi
if [ ! -f /etc/ppp.linkup ]; then \
install -c -m 400 ../example/ppp.linkup /etc/ppp.linkup
fi
if [ ! -f /etc/ppp.secret ]; then \
install -c -m 400 ../example/ppp.secret /etc/ppp.secret
fi
touch /var/log/ppp.log
chmod 644 /var/log/ppp.log
depend:
mkdep $(SRCS);
clean:
rm -rf $(OBJS) *.core .depend ppp
#########